public class LogicOperator {
	public static void main(String[] args) {
		int age = 50;
		if(age > 20 && age < 90){
			System.out.println("ok100");
		}


		int a = 4;
		int b = 9;

		if(a < 1 & ++b < 50){
			System.out.println("ok200");
		}
		
		if(a < 1 && ++b < 50){
			System.out.println("ok300");
		}

		System.out.println("a = " + a + " b = " + b);
	}
}